CopyTo(T[],Int32,Int32) Method
In This Topic
Copies all the elements of the current one-dimensional System.Array to the specified one-dimensional SparseArray starting at the specified destination SparseArray index. The index is specified as a 32-bit integer.
Syntax
'Declaration
Public Overloads Sub CopyTo( _
ByVal () As , _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim instance As SparseArray(Of T)
Dim array() As
Dim arrayIndex As Integer
Dim length As Integer
instance.CopyTo(array, arrayIndex, length)
public void CopyTo(
[] ,
int ,
int
)
Parameters
- array
- The one-dimensional System.Array that is the destination of the elements copied from the current SparseArray.
- arrayIndex
- A 32-bit integer that represents the index in array at which copying begins.
- length
- The number of elements will be copied.
See Also